package com.tran.demo.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author com
 * @since 2019-03-09
 */
@TableName("pay_user")
public class User extends Model<User> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户的ID与用户登录表联合
     */
    private Integer userId;

    /**
     * 用户的真实姓名
     */
    private String userName;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 冻结金钱
     */
    private BigDecimal freez;

    /**
     * 日免审提现额度
     */
    private BigDecimal dayFreeCash;

    /**
     * 日提现额度
     */
    private BigDecimal dayCash;

    /**
     * 次提现额度
     */
    private BigDecimal timesCash;

    /**
     * 资金类型 2:比特币   5:以太币   6:ETC
     */
    private Integer fundsType;

    /**
     * 业务类型
     */
    private Integer busiId;

    private Date nextFaxiDate;

    /**
     * 杠杆的级别，1、2、3...级
     */
    private Integer level;

    /**
     * 等待借出的金额
     */
    private BigDecimal outWait;

    /**
     * 借出成功的金额
     */
    private BigDecimal outSuccess;

    /**
     * 等待借入的金额
     */
    private BigDecimal inWait;

    /**
     * 借入成功的金额
     */
    private BigDecimal inSuccess;

    /**
     * 拖欠金额
     */
    private BigDecimal overdraft;

    /**
     * 自动委托临界值金额
     */
    private BigDecimal entrustThreshold;

    /**
     * 用户放贷的限额
     */
    private BigDecimal loanLimit;

    /**
     * 滞纳金
     */
    private BigDecimal overdue;

    /**
     * 每天的利息
     */
    private BigDecimal interestOfDay;

    /**
     * 预计平仓的价格
     */
    private BigDecimal unwindPrice;

    /**
     * 提币冻结的资金
     */
    private BigDecimal withdrawFreeze;

    /**
     * 是否显示明细（1:显示(默认)；2:隐藏）
     */
    private Integer showDetail;

    /**
     * 是否显示明细（1:显示(默认)；2:隐藏）
     */
    private Integer isShow;

    /**
     * 币种排序（0为未排序）
     */
    private Integer orderCoin;

    /**
     * 资金列表中是否显示
     */
    private Integer isShowCoin;

    /**
     * 没有释放的et量
     */
    private BigDecimal notfreedet;

    /**
     * 资金是否冻结（0 未冻结 1 已冻结）
     */
    private Integer isFreez;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }
    public BigDecimal getFreez() {
        return freez;
    }

    public void setFreez(BigDecimal freez) {
        this.freez = freez;
    }
    public BigDecimal getDayFreeCash() {
        return dayFreeCash;
    }

    public void setDayFreeCash(BigDecimal dayFreeCash) {
        this.dayFreeCash = dayFreeCash;
    }
    public BigDecimal getDayCash() {
        return dayCash;
    }

    public void setDayCash(BigDecimal dayCash) {
        this.dayCash = dayCash;
    }
    public BigDecimal getTimesCash() {
        return timesCash;
    }

    public void setTimesCash(BigDecimal timesCash) {
        this.timesCash = timesCash;
    }
    public Integer getFundsType() {
        return fundsType;
    }

    public void setFundsType(Integer fundsType) {
        this.fundsType = fundsType;
    }
    public Integer getBusiId() {
        return busiId;
    }

    public void setBusiId(Integer busiId) {
        this.busiId = busiId;
    }
    public Date getNextFaxiDate() {
        return nextFaxiDate;
    }

    public void setNextFaxiDate(Date nextFaxiDate) {
        this.nextFaxiDate = nextFaxiDate;
    }
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
    public BigDecimal getOutWait() {
        return outWait;
    }

    public void setOutWait(BigDecimal outWait) {
        this.outWait = outWait;
    }
    public BigDecimal getOutSuccess() {
        return outSuccess;
    }

    public void setOutSuccess(BigDecimal outSuccess) {
        this.outSuccess = outSuccess;
    }
    public BigDecimal getInWait() {
        return inWait;
    }

    public void setInWait(BigDecimal inWait) {
        this.inWait = inWait;
    }
    public BigDecimal getInSuccess() {
        return inSuccess;
    }

    public void setInSuccess(BigDecimal inSuccess) {
        this.inSuccess = inSuccess;
    }
    public BigDecimal getOverdraft() {
        return overdraft;
    }

    public void setOverdraft(BigDecimal overdraft) {
        this.overdraft = overdraft;
    }
    public BigDecimal getEntrustThreshold() {
        return entrustThreshold;
    }

    public void setEntrustThreshold(BigDecimal entrustThreshold) {
        this.entrustThreshold = entrustThreshold;
    }
    public BigDecimal getLoanLimit() {
        return loanLimit;
    }

    public void setLoanLimit(BigDecimal loanLimit) {
        this.loanLimit = loanLimit;
    }
    public BigDecimal getOverdue() {
        return overdue;
    }

    public void setOverdue(BigDecimal overdue) {
        this.overdue = overdue;
    }
    public BigDecimal getInterestOfDay() {
        return interestOfDay;
    }

    public void setInterestOfDay(BigDecimal interestOfDay) {
        this.interestOfDay = interestOfDay;
    }
    public BigDecimal getUnwindPrice() {
        return unwindPrice;
    }

    public void setUnwindPrice(BigDecimal unwindPrice) {
        this.unwindPrice = unwindPrice;
    }
    public BigDecimal getWithdrawFreeze() {
        return withdrawFreeze;
    }

    public void setWithdrawFreeze(BigDecimal withdrawFreeze) {
        this.withdrawFreeze = withdrawFreeze;
    }
    public Integer getShowDetail() {
        return showDetail;
    }

    public void setShowDetail(Integer showDetail) {
        this.showDetail = showDetail;
    }
    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }
    public Integer getOrderCoin() {
        return orderCoin;
    }

    public void setOrderCoin(Integer orderCoin) {
        this.orderCoin = orderCoin;
    }
    public Integer getIsShowCoin() {
        return isShowCoin;
    }

    public void setIsShowCoin(Integer isShowCoin) {
        this.isShowCoin = isShowCoin;
    }
    public BigDecimal getNotfreedet() {
        return notfreedet;
    }

    public void setNotfreedet(BigDecimal notfreedet) {
        this.notfreedet = notfreedet;
    }
    public Integer getIsFreez() {
        return isFreez;
    }

    public void setIsFreez(Integer isFreez) {
        this.isFreez = isFreez;
    }

    @Override
    protected Serializable pkVal() {
        return this.userId;
    }

    @Override
    public String toString() {
        return "User{" +
        "userId=" + userId +
        ", userName=" + userName +
        ", balance=" + balance +
        ", freez=" + freez +
        ", dayFreeCash=" + dayFreeCash +
        ", dayCash=" + dayCash +
        ", timesCash=" + timesCash +
        ", fundsType=" + fundsType +
        ", busiId=" + busiId +
        ", nextFaxiDate=" + nextFaxiDate +
        ", level=" + level +
        ", outWait=" + outWait +
        ", outSuccess=" + outSuccess +
        ", inWait=" + inWait +
        ", inSuccess=" + inSuccess +
        ", overdraft=" + overdraft +
        ", entrustThreshold=" + entrustThreshold +
        ", loanLimit=" + loanLimit +
        ", overdue=" + overdue +
        ", interestOfDay=" + interestOfDay +
        ", unwindPrice=" + unwindPrice +
        ", withdrawFreeze=" + withdrawFreeze +
        ", showDetail=" + showDetail +
        ", isShow=" + isShow +
        ", orderCoin=" + orderCoin +
        ", isShowCoin=" + isShowCoin +
        ", notfreedet=" + notfreedet +
        ", isFreez=" + isFreez +
        "}";
    }
}
